package com.hotel.room;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * --- 天道酬勤 ---
 *
 * @author TRC
 * @date 2024/6/17
 * @desc
 */
// room的实体类entity提取到了common-core中,作为公共的配置
// 要使用伪装接口room,调用common-core中user文件夹下的实体类
@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication
@MapperScan("com.hotel.room.mapper")
public class RoomApplication {

    public static void main(String[] args) {
        SpringApplication.run(RoomApplication.class, args);
    }

}
